$(function () {
	$('#donutchart1').highcharts({
	    chart: {
	        type: 'pie',
			 margin: [0, 0, 0, 0],
			 padding:[0, 0, 0, 0],
			 
	    },

	    plotOptions: {
	        pie: {
	            innerSize: '70%',
				dataLabels: {
					enabled: false
				},
				            shadow: {
          		width: 2,
              opacity: 0.3,
			  color:'#000'
            }
	        }
	    },
            credits: {
            enabled: false
    },
        title: {
            floating: false,
			y:60,
			text: "总面积",
			style: {
            color: '#000',
            fontWeight: 'bold'
			}
        },
        subtitle:{
			text: "6634/km2",
            floating: false,
			y:85,
			style: {
            color: '#2CBBAF',
			fontSize: '110%',
            fontWeight: 'bold'
			}
        },


	    series: [
		{
	        data: [{
            name: '未作业',
            y: 5,
			color: "#EAEEF1"
        },

		{
            name: '已作业',
            y: 10,
			color: "#2CBBAF"
        }


	        ]
	    }]
	});
});
$(function () {
	$('#donutchart2').highcharts({
	    chart: {
	        type: 'pie',
			 margin: [0, 0, 0, 0],
			 padding:[0, 0, 0, 0]
	    },

	    plotOptions: {
	        pie: {
	            innerSize: '70%',
				 dataLabels: {
                enabled: false
            },
							            shadow: {
          		width: 2,
              opacity: 0.3,
			  color:'#000'
            }
	        }
	    },
            credits: {
            enabled: false
    },
        title: {
            floating: false,
			y:60,
			text: "车辆总数",
			style: {
            color: '#000',
            fontWeight: 'bold'
			}
        },
        subtitle:{
			text: "10辆",
            floating: false,
			y:85,
			style: {
            color: '#fd4e71',
			fontSize: '110%',
            fontWeight: 'bold'
			}
        },


	    series: [
		{
	        data: [{
            name: '在线',
            y: 1,
			color: "#EAEEF1"
        },

		{
            name: '离线',
            y: 9,
			color: "#fd4e71"
        }


	        ]
	    }]
	});
});
$(function () {
	$('#donutchart3').highcharts({
	    chart: {
	        type: 'pie',
			 margin: [0, 0, 0, 0],
			 padding:[0, 0, 0, 0]
	    },

	    plotOptions: {
	        pie: {
	            innerSize: '70%',
				 dataLabels: {
                enabled: false
            },
							            shadow: {
          		width: 2,
              opacity: 0.3,
			  color:'#000'
            }
	        }
	    },
            credits: {
            enabled: false
    },
        title: {
            floating: false,
			y:60,
			text: "人员总数",
			style: {
            color: '#000',
            fontWeight: 'bold'
			}
        },
        subtitle:{
			text: "120人",
            floating: false,
			y:85,
			style: {
            color: '#EE7942',
			fontSize: '110%',
            fontWeight: 'bold'
			}
        },


	    series: [
		{
	        data: [{
            name: '离线',
            y: 5,
			color: "#EAEEF1"
        },

		{
            name: '在线',
            y: 15,
			color: "#EE7942"
        }


	        ]
	    }]
	});
});
$(function () {
	$('#donutchart4').highcharts({
	    chart: {
	        type: 'pie',
			 margin: [0, 0, 0, 0],
			 padding:[0, 0, 0, 0]
	    },

	    plotOptions: {
	        pie: {
	            innerSize: '70%',
				 dataLabels: {
                enabled: false
            },
							            shadow: {
          		width: 2,
              opacity: 0.3,
			  color:'#000'
            }
	        }
	    },
            credits: {
            enabled: false
    },
        title: {
            floating: false,
			y:60,
			text: "额定油耗",
			style: {
            color: '#000',
            fontWeight: 'bold'
			}
        },
        subtitle:{
			text: "500L",
            floating: false,
			y:85,
			style: {
            color: '#8EE5EE',
			fontSize: '110%',
            fontWeight: 'bold'
			}
        },


	    series: [
		{
	        data: [{
            name: '未使用',
            y: 1,
			color: "#EAEEF1"
        },

		{
            name: '已使用',
            y: 9,
			color: "#8EE5EE"
        }


	        ]
	    }]
	});
});
